package com.cskaoyan.controller.wx;

import com.cskaoyan.model.admin.vo.BaseRespVo;
import com.cskaoyan.model.vx.vo.UserIndexByChenVO;
import com.cskaoyan.service.wx.WxUserIndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: ChenZhuqi
 * @Date: 2021/12/2 17:07
 * @Description: 用户登录页面
 */
@RestController
public class WxUserIndexController {
    @Autowired
    WxUserIndexService wxUserIndexService;
    @RequestMapping("wx/user/index")
    public BaseRespVo userIndex(){

        UserIndexByChenVO data= wxUserIndexService.userIndex( );
        return BaseRespVo.ok(data);
    }
}
